<template>
	<view class="collage-search">
		<view class="header-search-box">
			<view class="search-box">
				<view class="search-left">
					<image src="/static/images/collage/collage-header-search-icon.png" class="search-icon" mode=""></image>
					<input type="text" value="" placeholder="请输入" class="search-ipt" placeholder-style="color:#CCCCCC;" />
				</view>
				<image src="/static/images/collage/cancelbtn.png" class="cancelbtn" mode=""></image>
			</view>
			<view class="cancel-search" @click="cancel">取消</view>
		</view>
		<view class="serach-goods-list">
			<view class="collages-goods-list-item" v-for="(item,index) in collageGoodsList" :key="index">
				<image src="/static/images/userimg.jpg" class="goods-icon" mode=""></image>
				<view class="collages-goods-list-item-right">
					<view class="goods-describe">这里的文案是占位符这里的文案是占位符这里的文案是占位符</view>
					<view class="goods-other-lable">
						<image src="/static/images/collage/free-post.png" class="free-post" mode=""></image>
						<image src="/static/images/collage/high-recommend.png" class="high-recommend" mode=""></image>
					</view>
					<view class="deliver-goods-address">保税仓发货</view>
					<view class="goods-num-info">
						<view class="goods-money">
							<text>￥</text>
							<text>399</text>
						</view>
						<view class="goods-solded-num">已售100件</view>
					</view>
				</view>
				<image src="/static/images/collage/collages-icon.png" class="collages-icon" mode=""></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return {
				collageGoodsList:[1,2,3,4]
			}
		},
		methods:{
			cancel(){
				uni.navigateBack({})
			}
		}
	}
	
</script>

<style scoped lang="scss"> 
	page{
		background: #F6F6F6;
	}
	.header-search-box{
		width: 100%;
		// height: 104rpx;
		background: #FFFFFF;
		display: flex;
		align-items: center;
		padding: 60rpx 0 20rpx 0rpx;
	}
	.search-box{
		width: 598rpx;
		height: 68rpx;
		background: #F6F6F6;
		border-radius: 35rpx;
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-left: 32rpx;
	}
	.search-icon{
		display: block;
		width: 36rpx;
		height: 36rpx;
		margin-left: 24rpx;
	}
	.cancelbtn{
		display: block;
		width: 40rpx;
		height: 40rpx;
		margin-right: 24rpx;
	}
	.cancel-search{
		width: 120rpx;
		display: flex;
		justify-content: center;
		font-size: 32rpx;
		font-weight: 400;
		color: #666666;
	}
	.search-ipt{
		width: 446rpx;
		margin-left: 10rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: #333333;
	}
	.search-left{
		display: flex;
	}
	.serach-goods-list{
		margin-top:24rpx;
	}
	.collages-goods-list-item{
		width: 686rpx;
		height: 232rpx;
		background: #FFFFFF;
		border-radius: 32rpx;
		margin:0 auto 16rpx;
		display: flex;
		position: relative;
		.goods-icon{
			display:block;
			width: 232rpx;
			height: 232rpx;
			border-radius: 32rpx 0px 0px 32rpx;
		}
		.collages-goods-list-item-right{
			margin:16rpx 0 0 24rpx;
		}
		.goods-describe{
			width: 406rpx;
			height: 80rpx;
			font-size: 28rpx;
			font-weight: 400;
			color: #333333;
			line-height: 40rpx;
			display: -webkit-box;
			-webkit-box-orient: vertical;
			-webkit-line-clamp: 2;
			overflow: hidden;
		}
		.goods-other-lable{
			display: flex;
			align-items: center;
			margin-top: 4rpx;
		}
		.free-post,.high-recommend{
			display: block;
			width: 102rpx;
			height: 30rpx;
			margin-right: 8rpx;
		}
		.deliver-goods-address{
			font-size: 24rpx;
			font-weight: 400;
			color: #999999;
			line-height: 34rpx;
			margin-top: 4rpx;
		}
		.goods-num-info{
			display: flex;
		}
		.goods-money{
			>text:nth-child(1){
				font-size: 24rpx;
				font-weight: 400;
				color: #FF4416;
				line-height: 34rpx;
			}
			>text:nth-child(2){
				font-size: 36rpx;
				font-family: PingFangSC-Semibold, PingFang SC;
				font-weight: 600;
				color: #FF4416;
				line-height: 50rpx;
			}
		}
		.goods-solded-num{
			font-size: 24rpx;
			font-weight: 400;
			color: #999999;
			line-height: 34rpx;
			margin:12rpx 0 0 24rpx;
		}
		.collages-icon{
			display: block;
			width: 114rpx;
			height: 96rpx;
			position: absolute;
			bottom: 0;
			right: 0;
		}
	}
</style>
